<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <title>聊天记录</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <table class="layui-hide" id="data-table" lay-filter="data-table"></table>

                    <script type="text/html" id="data-table-toolbar">
                        <div class="layui">
                            <div class="layui-condition" style="display: none !important;">
                                <label>发送者id：</label>
                                <div class="layui-inline" style="width: 110px;">
                                    <input type="text" id="fromUserId" placeholder="请输入发送者id" autocomplete="off" class="layui-input" value="${param.fromUserId}">
                                </div>
                            </div>
                            <div class="layui-condition" style="display: none !important;">
                                <label>接收者id：</label>
                                <div class="layui-inline" style="width: 110px;">
                                    <input type="text" id="toUserId" placeholder="请输入接收者id" autocomplete="off" class="layui-input" value="${param.toUserId}">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>时间：</label>
                                <div class="layui-inline" style="width: 180px;">
                                    <input type="text" class="layui-input" id="time" placeholder=" - " autocomplete="off">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <button type="button" class="layui-btn" id="search" lay-event="search">
                                    <i class="layui-icon">&#xe615;</i>搜索
                                </button>
                            </div>
                        </div>
                    </script>

                    <script type="text/html" id="data-table-bar">
                        <c:forEach items="${userPermissions}" var="permission">
                            <c:if test="${permission eq '/operate/im/updateStatus'}">
                                {{# if(d.status == 0){ }}
                                    <a class="layui-btn layui-btn-xs" lay-event="updateStatus">处理</a>
                                {{# } }}
                            </c:if>
                        </c:forEach>
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/js/operatemanage/im/view.js?v=1.1.5"></script>
</body>
</html>
